package overall.message.game
{
	import flash.utils.ByteArray;
	
	import xnet.Message.ISokcetMessage;
	import xnet.Message.MessageBase;
	
	public class GameOperateResultMsg extends MessageBase
	{
		public function GameOperateResultMsg()
		{
			super();
		}
		
		
		public var token:String;
		public var success:Boolean;
		public var result:String;
		public var operateUser:int;
		public var currentUser:int;
		public var ackMark:int;
		public var ackCard:int;
		override public function decodeSocketData(byteArray:ByteArray):ISokcetMessage
		{
			
			type = byteArray.readByte();
			token=byteArray.readUTF();
			success=byteArray.readBoolean();
			result=byteArray.readUTF();
			currentUser=byteArray.readInt();
			operateUser=byteArray.readInt();
			ackMark=byteArray.readByte();
			ackCard=byteArray.readByte();
			return this;
		}	
	}
}